package com.drinkian.business.room.service;

import com.drinkian.business.room.entity.po.Room;
import com.drinkian.business.room.entity.vo.VRoomAdd;
import com.drinkian.entity.RequestResult;

public interface IRoomService {
    RequestResult addRoom(VRoomAdd vRoomAdd);
    RequestResult getRoomList(int current, int size);
    RequestResult searchRoomListByTitle(String title);
    RequestResult getRoomListByUploaderId(int current, int size, Integer uploaderId);
    RequestResult deleteRoomById(Integer id);
    RequestResult updateRoom(Room room);
    RequestResult getUncheckRoomList(Integer current, Integer size);
    RequestResult examUncheckRoom(Integer roomId, Integer code);
}
